<?php
	ini_set("display_errors","on");
	include "librari/koneksi.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>lowongan kanisius</title>
<link rel="stylesheet" href="pagestyle.css" type="text/css" />
<style type="text/css">
<!--
.style1 {color: #006699}
.style3 {font-size: 14px}
.style7 {font-size: 16px}
.style8 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
.style9 {color: #FF0000}
.style12 {
	color: #334D55;
	font-size: 80%;
	font-weight: bold;
}
-->
</style>
</head>
<!-- The structure of this file is exactly the same as 2col_rightNav.html;
     the only difference between the two is the stylesheet they use -->
<body>
<div id="masthead">
  <h1 id="siteName">LOWONGAN</h1>
  <div id="globalNav"> <a href="#">Profile</a> | <a href="#">Kantor Pemasaran </a> | <a href="#">Layanan Cetak </a> | <a href="index.php">Hello Kids </a> |<a href="index.php"> Lowongan</a> | <a href="#">Resensi</a> | <a href="#">Multimedia</a> | <a href="#">Kontak</a>| <a href="#">Promosi / Iklan</a> </div>
</div>
<!-- end masthead -->
<div id="content">
  <div id="breadCrumb"></div>
  <h2 class="style1" id="pageName">FORM PENDAFTARAN  </h2>
  <div class="feature">
    <p align="left" class="style3">&nbsp;</p>
    <p align="justify" class="style3"><span class="style7">Silahkan mengisi form pendaftaran berikut dengan lengkap dan benar. </span></p>
    <table width="70%" height="632" border="2" cellpadding="0" cellspacing="2" bordercolor="#000000">
      <tr>
        <td height="353"><table width="106%" height="549" border="0" cellpadding="2" cellspacing="3">
          <tr>
            <td width="32%"><div align="left" class="style8">No.ID Tes </div></td>
            <td width="4%"><div align="center"><strong>:</strong></div></td>
            <td width="64%"><form id="form1" name="form1" method="post" action="daftar_oke.php">
              <label>
                <input type="text" name="idTes" value="<?php 
				$sqlidPelamar='select * from pelamar order by idPelamar limit 1';
				$r=mysql_query($sqlidPelamar);
				if(mysql_num_rows($r)>0){
					$row=mysql_fecth_array($r);
					$q=$row[idPelamar]+1;
				}else{
					$q=1;
				}
				
				echo $q;
				?>"/>
                </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Tahun</div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td><table width="102%" border="0" cellspacing="2" cellpadding="0">
              <tr>
                <td width="37%">
                  <label>
                    <input type="text" name="tahun" />
                    </label>
                </td>
                <td width="26%"><div align="right" class="style8">Gelombang : </div></td>
                <td width="37%">
                  <label>
                    <input type="text" name="gelombang" />
                    </label>
                </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="28"><div align="left" class="style8">Nama Lengkap </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
                <input type="text" name="TxtNama" value="" />
                </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Alamat</div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
                <input type="text" name="TxtAlamat" value="" />
                </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Email</div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
                <input type="text" name="TxtEmail" value="" />
                </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Jenis Kelamin</div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <p>
                <label>
<input name="RbKelamin" type="radio" value="P" <? echo "$cekp"; ?>  ></input>                 
Pria</label>
                <br />
                <label>
<input name="RbKelamin" type="radio" value="W" <? echo "$cekw"; ?>     ></input>              
Wanita</label>
                <br />
              </p>
            </form>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Usia</div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <table width="80%" border="0" cellspacing="2" cellpadding="0">
                <tr>
                  <td><label>
<select name="SlctUsia">
    <option value="NotUsia" selected>[ Usia ]</option>
          <?php
		$sql = "SELECT * FROM usia ORDER BY kd_usia";
		//$qry = @mysql_query($sql, $koneksi) or die ("Gagal query");
		while ($data =mysql_fetch_array($qry)) {
			if ($data[kd_usia]==$dataUsia) {
				$cek="selected";
			}
			else {
				$cek="";
			}
			echo "<option value='$data[kd_usia]' $cek>$data[nm_usia]</option>";
		}
		?>
  <option>17</option>
  <option>18</option>
  <option>19</option>
  <option>20</option>
  <option>21</option>
  <option>22</option>
  <option>23</option>
  <option>24</option>
  <option>25</option>
  <option>26</option>
  <option>27</option>
  <option>28</option>
  <option>29</option>
  <option>30</option>
  </select>
                
tahun</label></td>
                  <td>&nbsp;</td>
                </tr>
              </table>
              <label></label>
            </td>
          </tr>
          <tr>
            <td valign="top"><div align="left" class="style8">Agama</div></td>
            <td valign="top"><div align="center"><strong>:</strong></div></td>
            <td>
              <p>
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Katolik</label>
                <br />
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Islam</label>
                <br />
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Kristen
                </label>
                <br />
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Hindu</label>
                <br />
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Budha</label>
                <br />
                <label>
                  <input type="radio" name="agama" value="radio" />
                  Konghuchu</label>
                <br />
              </p>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Pendidikan Terakhir </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label></label>
              <label></label>
              <label>
              <select name="SlctPend">
			  <option selected="selected">SMU</option>
				<option selected="selected">SMK</option>
				<option selected="selected">D3</option>
				<option selected="selected">S1</option>
              </select>
              </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Program Studi </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
              <select name="SlctProdi">
			  <option>Akuntansi</option>
				<option>Bahasa Inggris</option>
				<option>Desain Grafis</option>
				<option>Hukum</option>
				<option>Komunikasi</option>
				<option>Menejemen</option>
				<option>Psikologi</option>
				<option>Teknik Elektro</option>
				<option>Teknik Informatika</option>
				<option>Teknik Idustri</option>
				<option>Sastra</option>
				<option>Sekretaris</option>
              </select>
              </label>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Kemampuan Penunjang </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label></label>
              <table width="394" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="170"><label>
                    <textarea name="TxtarKemp"></textarea>
                  </label></td>
                  <td width="224">* kemampuan yang menunjang pekerjaan </td>
                </tr>
              </table>
            </td>
          </tr>
          <tr>
            <td><div align="left" class="style8">Posisi yang diinginkan </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
              <select name="SlctPosisi">
			    <option>HRD</option>
				<option>Humas</option>
				<option>Keuangan</option>
				<option>Pemasaran</option>
				<option>Produksi</option>
				<option>Redaksi</option>
				<option>Sekreteriat</option>
				<option>SIM/Sistem Informasi Menejemen</option>
			  </select>
              </label>
            </td>
          </tr>
          <tr>
            <td height="29"><div align="left" class="style8">No. KTP </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
                <input type="text" name="TxtKtp" value="" />
                </label>
            </td>
          </tr>
          <tr>
            <td height="21"><div align="left" class="style8">No. Ijasah </div></td>
            <td><div align="center"><strong>:</strong></div></td>
            <td>
              <label>
                <input type="text" name="TxtIjasah" value="" />
                </label>
            </td>
          </tr>
        </table></td>
      </tr>
    </table>
    <table width="80%" border="0" cellspacing="2" cellpadding="3">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>
          <label></label>
          <table width="80%" border="0" cellspacing="2" cellpadding="3">
            <tr>
              <td width="62%"><span class="style9">Periksa kembali data Anda sebelum mengklik tombol daftar. </span></td>
              <td width="38%"><label>
                <input type="submit" name="DAFTAR" value="DAFTAR" />
              </label></td>
            </tr>
          </table>
        </form>        </td>
      </tr>
    </table>
  </div>
 
  <div class="story"></div>
</div>
<!--end content -->
<div id="navBar">
  <div id="search">
    <form action="#">
      <label>Pencarian
      <input name="searchFor" type="text" size="10" />
      <input name="goButton" type="submit" value="cari" />
      </label>
    </form>
  </div>
  <div id="sectionLinks">
    <ul><li></li>
      <li><a href="index.php">LOWONGAN</a></li>
      <li><a href="pelamar_diterima.php">PELAMAR DITERIMA </a></li>
    </ul>
</div>
  <div class="relatedLinks"></div>
  <div class="relatedLinks">
    <table width="99%" height="131" border="0" cellpadding="3" cellspacing="3">
      <tbody>
        <tr>
          <td height="68" align="left" class="tr_1"><span class="style12">KRC MEMBER<br />
            (Bu Selvi)</span><br />
          <a href="ymsgr:sendIM?krckanisius"><img src="image/online.gif" width="64" height="16" /></a> </td>
        </tr>
        <tr>
          <td height="60" align="left" class="tr_0"><span class="style12">MEMBER KANISIUSMEDIA<br />
            (Bu Budi Murni)</span><br />
          <a href="ymsgr:sendIM?kbs_kanisius"><img src="image/online.gif" width="64" height="16" /></a> </td>
        </tr>
      </tbody>
    </table>
    
  </div>
  <div id="advert">  
    <p><img src="image/081110_71018.gif" width="181" height="67" /></p>
    <p>&nbsp;</p>
    <p><img src="image/080929_41557.gif" width="179" height="69" /></p>
    <p>&nbsp;</p>
    <p><img src="image/070509_49114.gif" width="178" height="70" /></p>
  </div>
  <div id="headlines">
    <h3>&nbsp;</h3>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
  </div>
</div>
<!--end navbar -->
<div id="siteInfo"><a href="#">Profile</a> | <a href="#">Site Map</a> | <a href="#">Privacy Policy</a> | <a href="#">Contact Us</a> | &copy; 2010 MArgaretha Ajeng Purbo Resmi </div>
<br />
</body>
</html>
